package com.learn.webservice.server;

import com.learn.webservice.domain.User;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

/**
 * webService接口
 *
 * @author: Administrator
 * @createTime: 2023/12/15 0015 11:58
 * @updateUser: Administrator
 * @updateTime: 2023/12/15 0015 11:58
 * @updateRemark: 修改内容
 * @version: v1.0
 */

@WebService(name = "UserService", // 暴露服务名称
        targetNamespace = "https://server.webservice.learn.com"// 命名空间,一般是接口的包名倒序
)
public interface UserService {
    @WebMethod
    String emrService(@WebParam String data);

    int addUser(User user);

    User queryUser(Integer id);
}
